<HTML>
<HEAD>
<TITLE>[Chapter 19] SystemColor </TITLE>
<META NAME="author" CONTENT="John Zukowski">
<META NAME="date" CONTENT="Thu Jul 31 15:16:14 1997">
<META NAME="form" CONTENT="html">
<META NAME="metadata" CONTENT="dublincore.0.1">
<META NAME="objecttype" CONTENT="book part">
<META NAME="otheragent" CONTENT="gmat dbtohtml">
<META NAME="publisher" CONTENT="O'Reilly &amp; Associates, Inc.">
<META NAME="source" CONTENT="SGML">
<META NAME="subject" CONTENT="Java AWT">
<META NAME="title" CONTENT="Java AWT">
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
</HEAD>
<body vlink="#551a8b" alink="#ff0000" text="#000000" bgcolor="#FFFFFF" link="#0000ee">

<DIV CLASS=htmlnav>
<H1><a href='index.htm'><IMG SRC="gifs/smbanner.gif"
     ALT="Java AWT" border=0></a></H1>
<table width=515 border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=172 align=left valign=top><A HREF="ch19_55.htm"><IMG SRC="gifs/txtpreva.gif" ALT="Previous" border=0></A></td>
<td width=171 align=center valign=top><B><FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1">Chapter 19<br>java.awt Reference</FONT></B></TD>
<td width=172 align=right valign=top><A HREF="ch19_57.htm"><IMG SRC="gifs/txtnexta.gif" ALT="Next" border=0></A></td>
</tr>
</table>

&nbsp;
<hr align=left width=515>
</DIV>
<DIV CLASS=refnamediv>
<H1>SystemColor <img src="gifs/bstar.gif" alt="(New)" border=0></H1>

<H2>Name</H2>

SystemColor <img src="gifs/bstar.gif" alt="(New)" border=0>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="ch19-REFSECT1-AUTOID.56"></A></h2>
</DIV>


<p>
<img align=middle src="./figs/systemc.gif" alt="[Graphic: Figure from the text]" width=502 height=53 border=0>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-1">Description</A></h2>

<P CLASS=para>
<tt CLASS=literal>SystemColor</tt> provides information 
on the colors that the windowing system uses to display windows and other 
graphic components. Most windowing systems allow the user to choose different 
color schemes; <tt CLASS=literal>SystemColor</tt> 
enables programs to find out what colors are in use in order to paint themselves 
in a consistent manner. 

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-2">Class Definition</A></h2>

<DIV CLASS=screen>
<P>
<PRE>
public final class java.awt.SystemColor
    extends java.awt.Color
    implements java.io.Serializable {
  // Constants
  public final static int ACTIVE_CAPTION;
  public final static int ACTIVE_CAPTION_BORDER;
  public final static int ACTIVE_CAPTION_TEXT;
  public final static int CONTROL;
  public final static int CONTROL_DK_SHADOW;
  public final static int CONTROL_HIGHLIGHT;
  public final static int CONTROL_LT_HIGHLIGHT;
  public final static int CONTROL_SHADOW;
  public final static int CONTROL_TEXT;
  public final static int DESKTOP;
  public final static int INACTIVE_CAPTION;
  public final static int INACTIVE_CAPTION_BORDER;
  public final static int INACTIVE_CAPTION_TEXT;
  public final static int INFO;
  public final static int INFO_TEXT;
  public final static int MENU;
  public final static int MENU_TEXT;
  public final static int NUM_COLORS;
  public final static int SCROLLBAR;
  public final static int TEXT;
  public final static int TEXT_HIGHLIGHT;
  public final static int TEXT_HIGHLIGHT_TEXT;
  public final static int TEXT_INACTIVE_TEXT;
  public final static int TEXT_TEXT;
  public final static int WINDOW;
  public final static int WINDOW_BORDER;
  public final static int WINDOW_TEXT;
  public final static SystemColor activeCaption;
  public final static SystemColor activeCaptionBorder;
  public final static SystemColor activeCaptionText;
  public final static SystemColor control;
  public final static SystemColor controlDkShadow;
  public final static SystemColor controlHighlight;
  public final static SystemColor controlLtHighlight;
  public final static SystemColor controlShadow;
  public final static SystemColor controlText;
  public final static SystemColor desktop;
  public final static SystemColor inactiveCaption;
  public final static SystemColor inactiveCaptionBorder;
  public final static SystemColor inactiveCaptionText;
  public final static SystemColor info;
  public final static SystemColor infoText;
  public final static SystemColor menu;
  public final static SystemColor menuText;
  public final static SystemColor scrollbar;
  public final static SystemColor text;
  public final static SystemColor textHighlight;
  public final static SystemColor textHighlightText;
  public final static SystemColor textInactiveText;
  public final static SystemColor textText;
  public final static SystemColor window;
  public final static SystemColor windowBorder;
  public final static SystemColor windowText;
  // Public Instance Methods
  public int getRGB();
  public String toString();
}
</PRE>
</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3">Constants</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.1">ACTIVE_CAPTION</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.1.1">public static final int ACTIVE_CAPTION</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.2">ACTIVE_CAPTION_BORDER</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.2.1">public static final int ACTIVE_CAPTION_BORDER</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.3">ACTIVE_CAPTION_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.3.1">public static final int ACTIVE_CAPTION_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.4">CONTROL</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.4.1">public static final int CONTROL</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.5">CONTROL_DK_SHADOW</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.5.1">public static final int CONTROL_DK_SHADOW</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.6">CONTROL_HIGHLIGHT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.6.1">public static final int CONTROL_HIGHLIGHT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.7">CONTROL_LT_HIGHLIGHT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.7.1">public static final int CONTROL_LT_HIGHLIGHT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.8">CONTROL_SHADOW</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.8.1">public static final int CONTROL_SHADOW</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.9">CONTROL_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.9.1">public static final int CONTROL_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.10">DESKTOP</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.10.1">public static final int DESKTOP</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.11">INACTIVE_CAPTION</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.11.1">public static final int INACTIVE_CAPTION</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.12">INACTIVE_CAPTION_BORDER</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.12.1">public static final int INACTIVE_CAPTION_BORDER</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.13">INACTIVE_CAPTION_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.13.1">public static final int INACTIVE_CAPTION_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.14">INFO</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.14.1">public static final int INFO</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.15">INFO_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.15.1">public static final int INFO_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.16">MENU</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.16.1">public static final int MENU</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.17">MENU_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.17.1">public static final int MENU_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.18">NUM_COLORS</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.18.1">public static final int NUM_COLORS</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.19">SCROLLBAR</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.19.1">public static final int SCROLLBAR</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.20">TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.20.1">public static final int TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.21">TEXT_HIGHLIGHT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.21.1">public static final int TEXT_HIGHLIGHT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.22">TEXT_HIGHLIGHT_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.22.1">public static final int TEXT_HIGHLIGHT_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.23">TEXT_INACTIVE_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.23.1">public static final int TEXT_INACTIVE_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.24">TEXT_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.24.1">public static final int TEXT_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.25">WINDOW</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.25.1">public static final int WINDOW</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.26">WINDOW_BORDER</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.26.1">public static final int WINDOW_BORDER</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.27">WINDOW_TEXT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.27.1">public static final int WINDOW_TEXT</A></h4>

<P CLASS=para>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.28">activeCaption</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.28.1">public static final SystemColor activeCaption</A></h4>

<P CLASS=para>
Background color for captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.29">activeCaptionBorder</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.29.1">public static final SystemColor activeCaptionBorder</A></h4>

<P CLASS=para>
Border color for captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.30">activeCaptionText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.30.1">public static final SystemColor activeCaptionText</A></h4>

<P CLASS=para>
Text color for captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.31">control</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.31.1">public static final SystemColor control</A></h4>

<P CLASS=para>
Background color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.32">controlDkShadow</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.32.1">public static final SystemColor controlDkShadow</A></h4>

<P CLASS=para>
Dark shadow color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.33">controlHighlight</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.33.1">public static final SystemColor controlHighlight</A></h4>

<P CLASS=para>
Highlight color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.34">controlLtHighlight</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.34.1">public static final SystemColor controlLtHighlight</A></h4>

<P CLASS=para>
Light highlight color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.35">controlShadow</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.35.1">public static final SystemColor controlShadow</A></h4>

<P CLASS=para>
Shadow color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.36">controlText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.36.1">public static final SystemColor controlText</A></h4>

<P CLASS=para>
Text color for controls. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.37">desktop</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.37.1">public static final SystemColor desktop</A></h4>

<P CLASS=para>
Desktop background color. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.38">inactiveCaption</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.38.1">public static final SystemColor inactiveCaption</A></h4>

<P CLASS=para>
Background color for inactive captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.39">inactiveCaptionBorder</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.39.1">public static final SystemColor inactiveCaptionBorder</A></h4>

<P CLASS=para>
Border color for inactive captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.40">inactiveCaptionText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.40.1">public static final SystemColor inactiveCaptionText</A></h4>

<P CLASS=para>
Text color for inactive captions in window borders. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.41">info</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.41.1">public static final SystemColor info</A></h4>

<P CLASS=para>
Background color for informational text. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.42">infoText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.42.1">public static final SystemColor infoText</A></h4>

<P CLASS=para>
Text color for informational text. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.43">menu</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.43.1">public static final SystemColor menu</A></h4>

<P CLASS=para>
Background color for menus. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.44">menuText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.44.1">public static final SystemColor menuText</A></h4>

<P CLASS=para>
Text color for menus. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.45">scrollbar</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.45.1">public static final SystemColor scrollbar</A></h4>

<P CLASS=para>
Background color for scrollbars. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.46">text</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.46.1">public static final SystemColor text</A></h4>

<P CLASS=para>
Background color for text components. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.47">textHighlight</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.47.1">public static final SystemColor textHighlight</A></h4>

<P CLASS=para>
Background color for highlighted text. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.48">textHighlightText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.48.1">public static final SystemColor textHighlightText</A></h4>

<P CLASS=para>
Text color for highlighted text. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.49">textInactiveText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.49.1">public static final SystemColor textInactiveText</A></h4>

<P CLASS=para>
Text color for inactive text. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.50">textText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.50.1">public static final SystemColor textText</A></h4>

<P CLASS=para>
Text color for text components. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.51">window</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.51.1">public static final SystemColor window</A></h4>

<P CLASS=para>
Background color for windows. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.52">windowBorder</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.52.1">public static final SystemColor windowBorder</A></h4>

<P CLASS=para>
Border color for windows. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.53">windowText</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-3.53.1">public static final SystemColor windowText</A></h4>

<P CLASS=para>
Text color for windows. 

</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-4">Instance Methods</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-4.1">getRGB</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-4.1.1">public int getRGB()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Current color as a composite value 

<p>
<DT CLASS=varlistentry>Overrides <br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Color.getRGB()</tt> 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets integer value of current system color. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-4.2">toString</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-4.2.1">public String toString()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
A string representation of the <tt CLASS=literal>SystemColor</tt> 
object. 

<p>
<DT CLASS=varlistentry>Overrides <br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Color.toString()</tt> </DL>
</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-SYSTEMCOLOR-SECT-5">See Also</A></h2>

<P CLASS=para>
<tt CLASS=literal>Color</tt>, <tt CLASS=literal>Serializable</tt>, 
<tt CLASS=literal>String</tt> 

</DIV>


<DIV CLASS=htmlnav>

<P>
<HR align=left width=515>
<table width=515 border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=172 align=left valign=top><A HREF="ch19_55.htm"><IMG SRC="gifs/txtpreva.gif" ALT="Previous" border=0></A></td>
<td width=171 align=center valign=top><a href="index.htm"><img src='gifs/txthome.gif' border=0 alt='Home'></a></td>
<td width=172 align=right valign=top><A HREF="ch19_57.htm"><IMG SRC="gifs/txtnexta.gif" ALT="Next" border=0></A></td>
</tr>
<tr>
<td width=172 align=left valign=top>Shape <img src="gifs/bstar.gif" alt="(New)" border=0></td>
<td width=171 align=center valign=top><a href="index/idx_a.htm"><img src='gifs/index.gif' alt='Book Index' border=0></a></td>
<td width=172 align=right valign=top>TextArea</td>
</tr>
</table>
<hr align=left width=515>

<IMG SRC="gifs/smnavbar.gif" USEMAP="#map" BORDER=0> 
<MAP NAME="map"> 
<AREA SHAPE=RECT COORDS="0,0,108,15" HREF="../javanut/index.htm"
alt="Java in a Nutshell"> 
<AREA SHAPE=RECT COORDS="109,0,200,15" HREF="../langref/index.htm" 
alt="Java Language Reference"> 
<AREA SHAPE=RECT COORDS="203,0,290,15" HREF="../awt/index.htm" 
alt="Java AWT"> 
<AREA SHAPE=RECT COORDS="291,0,419,15" HREF="../fclass/index.htm" 
alt="Java Fundamental Classes"> 
<AREA SHAPE=RECT COORDS="421,0,514,15" HREF="../exp/index.htm" 
alt="Exploring Java"> 
</MAP>
</DIV>

</BODY>
</HTML>
